/*
 * @Description: 用户相关接口
 * @Author: wangqi
 * @Date: 2022-04-18 15:03:31
 * @LastEditTime: 2022-04-19 13:53:15
 */
import { request } from '@/utils/request';

export function getInfo() {
  return request<API.AdminUserInfo>({
    url: 'account/info',
    method: 'get',
  });
}

export function permmenu() {
  return request<API.PermMenu>({
    url: 'account/permmenu',
    method: 'get',
  });
}
